﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" Inherits="Common_Register" Codebehind="Register.aspx.cs" %>

<%@ Register assembly="MSCaptcha" namespace="MSCaptcha" tagprefix="cc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    <asp:Label ID="Label1" runat="server" BorderStyle="None" Font-Bold="True" 
        Font-Size="Large" Text="&#272;&#259;ng kí thành viên website E2-Computer" 
        Font-Names="Arial" ForeColor="Blue" Width="360px"></asp:Label>
    <br />
    <br />
    <br />
    <asp:Label ID="Label7" runat="server" BackColor="#FFFF99" Font-Bold="True" 
        Font-Size="Large" Height="22px" Text="Thông tin cá nhân" Width="585px" 
        Font-Names="Arial"></asp:Label>
    <asp:Panel ID="Panel1" runat="server" BackColor="ControlLight" Font-Bold="False" 
        Font-Size="Medium" Height="465px" Width="585px" 
        BackImageUrl="~/images/Panel30.jpg">
        <br />
        &nbsp; &nbsp;
        <asp:Label ID="Label8" runat="server" Font-Size="Small" 
            Text="Tên &#273;&#259;ng nh&#7853;p"></asp:Label>
        &nbsp;&nbsp; &nbsp;<asp:TextBox ID="txtTenDangNhap" runat="server" Width="175px" 
            Font-Size="Small"></asp:TextBox>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
            ControlToValidate="txtTenDangNhap" ErrorMessage="RequiredFieldValidator" 
            Font-Size="Small">Vui lòng &#273;i&#7873;n tên &#273;&#259;ng nh&#7853;p</asp:RequiredFieldValidator>
        &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;<br />
        &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
        <br />
        &nbsp; &nbsp;&nbsp;
        <asp:Label ID="Label9" runat="server" Font-Size="Small" 
            Text="H&#7885; tên th&#7853;t"></asp:Label>
        &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;<asp:TextBox ID="txtTenThat" runat="server" Width="269px" 
            Font-Size="Small" ></asp:TextBox>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
            ControlToValidate="txtTenThat" ErrorMessage="RequiredFieldValidator" 
            Font-Size="Small">Vui lòng &#273;i&#7873;n h&#7885; tên th&#7853;t</asp:RequiredFieldValidator>
        <br />
        <br />
        &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;<br />
        &nbsp; &nbsp;&nbsp;
        <asp:Label ID="Label10" runat="server" Font-Size="Small" 
            Text="Ngày tháng n&#259;m sinh"></asp:Label>
        <br />
        <br />
        &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;
        <asp:Label ID="Label11" runat="server" Font-Size="Small" Text="Ngày"></asp:Label>
        &nbsp;&nbsp; &nbsp;&nbsp;<asp:DropDownList ID="dlNgay" runat="server" 
            Width="67px" Font-Size="Small">
            <asp:ListItem>1</asp:ListItem>
            <asp:ListItem>2</asp:ListItem>
            <asp:ListItem>3</asp:ListItem>
            <asp:ListItem>4</asp:ListItem>
            <asp:ListItem>5</asp:ListItem>
            <asp:ListItem>6</asp:ListItem>
            <asp:ListItem>7</asp:ListItem>
            <asp:ListItem>8</asp:ListItem>
            <asp:ListItem>9</asp:ListItem>
            <asp:ListItem>10</asp:ListItem>
            <asp:ListItem>11</asp:ListItem>
            <asp:ListItem>12</asp:ListItem>
            <asp:ListItem>13</asp:ListItem>
            <asp:ListItem>14</asp:ListItem>
            <asp:ListItem>15</asp:ListItem>
            <asp:ListItem>16</asp:ListItem>
            <asp:ListItem>17</asp:ListItem>
            <asp:ListItem>18</asp:ListItem>
            <asp:ListItem>19</asp:ListItem>
            <asp:ListItem>20</asp:ListItem>
            <asp:ListItem>21</asp:ListItem>
            <asp:ListItem>22</asp:ListItem>
            <asp:ListItem>23</asp:ListItem>
            <asp:ListItem>24</asp:ListItem>
            <asp:ListItem>25</asp:ListItem>
            <asp:ListItem>26</asp:ListItem>
            <asp:ListItem>27</asp:ListItem>
            <asp:ListItem>28</asp:ListItem>
            <asp:ListItem>29</asp:ListItem>
            <asp:ListItem>30</asp:ListItem>
            <asp:ListItem>31</asp:ListItem>
            <asp:ListItem>32</asp:ListItem>
        </asp:DropDownList>
        &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;
        <asp:Label ID="Label12" runat="server" Font-Size="Small" Text="Tháng"></asp:Label>
        &nbsp; &nbsp;
        <asp:DropDownList ID="dlThang" runat="server" Width="67px" Font-Size="Small">
            <asp:ListItem>1</asp:ListItem>
            <asp:ListItem>2</asp:ListItem>
            <asp:ListItem>3</asp:ListItem>
            <asp:ListItem>4</asp:ListItem>
            <asp:ListItem>5</asp:ListItem>
            <asp:ListItem>6</asp:ListItem>
            <asp:ListItem>7</asp:ListItem>
            <asp:ListItem>8</asp:ListItem>
            <asp:ListItem>9</asp:ListItem>
            <asp:ListItem>10</asp:ListItem>
            <asp:ListItem>11</asp:ListItem>
            <asp:ListItem>12</asp:ListItem>
        </asp:DropDownList>
        &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;
        <asp:Label ID="Label13" runat="server" Font-Size="Small" Text="N&#259;m"></asp:Label>
        &nbsp; &nbsp;
        <asp:DropDownList ID="dlNam" runat="server" Width="67px" Font-Size="Small">
            <asp:ListItem>2009</asp:ListItem>
            <asp:ListItem>2008</asp:ListItem>
            <asp:ListItem>2007</asp:ListItem>
            <asp:ListItem>2006</asp:ListItem>
            <asp:ListItem>2005</asp:ListItem>
            <asp:ListItem>2004</asp:ListItem>
            <asp:ListItem>2003</asp:ListItem>
            <asp:ListItem>2002</asp:ListItem>
            <asp:ListItem>2001</asp:ListItem>
            <asp:ListItem>2000</asp:ListItem>
            <asp:ListItem>1999</asp:ListItem>
            <asp:ListItem>1998</asp:ListItem>
            <asp:ListItem>1997</asp:ListItem>
            <asp:ListItem>1996</asp:ListItem>
            <asp:ListItem>1995</asp:ListItem>
            <asp:ListItem>1994</asp:ListItem>
            <asp:ListItem>1993</asp:ListItem>
            <asp:ListItem>1992</asp:ListItem>
            <asp:ListItem>1991</asp:ListItem>
            <asp:ListItem>1990</asp:ListItem>
            <asp:ListItem>1989</asp:ListItem>
            <asp:ListItem>1988</asp:ListItem>
            <asp:ListItem>1987</asp:ListItem>
            <asp:ListItem>1986</asp:ListItem>
            <asp:ListItem>1985</asp:ListItem>
            <asp:ListItem>1984</asp:ListItem>
            <asp:ListItem>1983</asp:ListItem>
            <asp:ListItem>1982</asp:ListItem>
            <asp:ListItem>1981</asp:ListItem>
            <asp:ListItem>1980</asp:ListItem>
            <asp:ListItem>1879</asp:ListItem>
            <asp:ListItem>1978</asp:ListItem>
            <asp:ListItem>1977</asp:ListItem>
            <asp:ListItem>1976</asp:ListItem>
            <asp:ListItem>1975</asp:ListItem>
            <asp:ListItem>1974</asp:ListItem>
            <asp:ListItem>1973</asp:ListItem>
            <asp:ListItem>1972</asp:ListItem>
            <asp:ListItem>1971</asp:ListItem>
            <asp:ListItem>1970</asp:ListItem>
            <asp:ListItem>1969</asp:ListItem>
            <asp:ListItem>1968</asp:ListItem>
            <asp:ListItem>1967</asp:ListItem>
            <asp:ListItem>1966</asp:ListItem>
            <asp:ListItem>1965</asp:ListItem>
            <asp:ListItem>1964</asp:ListItem>
            <asp:ListItem>1963</asp:ListItem>
            <asp:ListItem>1962</asp:ListItem>
            <asp:ListItem>1961</asp:ListItem>
            <asp:ListItem>1960</asp:ListItem>
        </asp:DropDownList>
        <br />
        <br />
        <br />
        &nbsp;&nbsp;&nbsp;&nbsp;
        <asp:Label ID="Label17" runat="server" Font-Size="Small" Text="Gi&#7899;i tính"></asp:Label>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
        <asp:DropDownList ID="dlGioiTinh" runat="server" Font-Size="Small" Width="67px">
            <asp:ListItem>Nam</asp:ListItem>
            <asp:ListItem>N&#7919;</asp:ListItem>
        </asp:DropDownList>
        <br />
        <br />
        &nbsp;&nbsp;&nbsp;&nbsp;
        <asp:Label ID="Label18" runat="server" Text="Ngh&#7873; nghi&#7879;p" 
            Font-Size="Small"></asp:Label>
        &nbsp;&nbsp;&nbsp;&nbsp; <b>
        <asp:TextBox ID="txtNgheNghiep" runat="server" Width="128px" Font-Size="Small"></asp:TextBox>
        <br />
        <br />
        &nbsp;&nbsp;&nbsp;&nbsp; </b>
        <asp:Label ID="Label19" runat="server" Text="&#272;i&#7879;n tho&#7841;i" 
            Font-Size="Small"></asp:Label>
        &nbsp;&nbsp;&nbsp;&nbsp; &nbsp; &nbsp; <b>
        <asp:TextBox ID="txtDienThoai" runat="server" Width="128px" Font-Size="Small"></asp:TextBox>
        &nbsp;<asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" 
            ControlToValidate="txtDienThoai" ErrorMessage="RequiredFieldValidator" 
            Font-Bold="False" Font-Size="Small">Vui lòng &#273;i&#7873;n s&#7889; &#273;i&#7879;n tho&#7841;i</asp:RequiredFieldValidator>
        <br />
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <asp:CustomValidator ID="CustomValidatorXacNhanSoDienThoai" runat="server" 
            ControlToValidate="txtDienThoai" ErrorMessage="CustomValidator" 
            Font-Bold="False" Font-Size="Small" 
            onservervalidate="CustomValidatorXacNhanSoDienThoai_ServerValidate">S&#7889; &#273;i&#7879;n tho&#7841;i không chính xác</asp:CustomValidator>
        <br />
        &nbsp;&nbsp;&nbsp;&nbsp;
        </b>
        <asp:Label ID="Label23" runat="server" Font-Size="Small" Text="Email"></asp:Label>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <b>&nbsp;
        <asp:TextBox ID="txtEmail" runat="server" Font-Size="Small" Width="217px"></asp:TextBox>
        &nbsp;</b><asp:RequiredFieldValidator ID="RequiredFieldValidator7" 
            runat="server" ControlToValidate="txtEmail" 
            ErrorMessage="RequiredFieldValidator" Font-Size="Small">Vui lòng &#273;i&#7873;n &#273;&#7883;a ch&#7881; email</asp:RequiredFieldValidator>
        <br />
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" 
            ControlToValidate="txtEmail" ErrorMessage="RegularExpressionValidator" 
            Font-Size="Small" 
            ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*">&#272;&#7883;a ch&#7881; email không chính xác</asp:RegularExpressionValidator>
        <br />
        <b>&nbsp;&nbsp;&nbsp;&nbsp;
        <asp:Label ID="Label16" runat="server" Font-Bold="False" Font-Size="Small" 
            Text="&#272;&#7883;a ch&#7881;"></asp:Label>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <asp:TextBox ID="txtDiaChi" runat="server" Font-Size="Small" Width="289px"></asp:TextBox>
        &nbsp;</b><asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" 
            ControlToValidate="txtDiaChi" ErrorMessage="RequiredFieldValidator" 
            Font-Size="Small">Vui lòng &#273;i&#7873;n &#273;&#7883;a ch&#7881;</asp:RequiredFieldValidator>
        <br />
        <br />
        &nbsp; &nbsp;&nbsp; <b>
        <asp:Label ID="Label14" runat="server" Font-Bold="False" 
            Font-Size="Small" Text="M&#7853;t kh&#7849;u" ForeColor="Black"></asp:Label>
        &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;<asp:Label 
            ID="Label15" runat="server" Font-Bold="False" Font-Size="Small" 
            Text="Xác nh&#7853;n m&#7853;t kh&#7849;u" ForeColor="Black"></asp:Label>
        <br />
        &nbsp; &nbsp;&nbsp;&nbsp;<asp:TextBox ID="txtMatKhau" runat="server" TextMode="Password" 
            Width="172px" Font-Size="Small"></asp:TextBox>
            &nbsp; &nbsp; &nbsp; &nbsp;
            <asp:TextBox ID="txtXacNhanMatKhau" runat="server" TextMode="Password" 
            Width="172px" Font-Size="Small"></asp:TextBox>
            <asp:CustomValidator ID="CustomValidatorXacNhanMatKhau" runat="server" 
            ErrorMessage="CustomValidator" Font-Bold="False" Font-Size="Small" 
            onservervalidate="CustomValidatorXacNhanMatKhau_ServerValidate"></asp:CustomValidator>
            <br />
        &nbsp;&nbsp;&nbsp;&nbsp;
        <asp:RequiredFieldValidator ID="RequiredFieldValidator8" runat="server" 
            ControlToValidate="txtMatKhau" ErrorMessage="RequiredFieldValidator" 
            Font-Bold="False" Font-Size="Small">Vui lòng &#273;i&#7873;n m&#7853;t kh&#7849;u</asp:RequiredFieldValidator>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <asp:RequiredFieldValidator ID="RequiredFieldValidator9" runat="server" 
            ControlToValidate="txtXacNhanMatKhau" ErrorMessage="RequiredFieldValidator" 
            Font-Bold="False" Font-Size="Small">Vui lòng &#273;i&#7873;n m&#7853;t kh&#7849;u xác nh&#7853;n</asp:RequiredFieldValidator>
        <br />
        <br />
        </b>
    </asp:Panel>
    <br />
    <br />
    <br />
    <asp:Label ID="Label22" runat="server" BackColor="#FFFF99" Font-Bold="True" 
        Font-Size="Large" Height="22px" Text="Xác nh&#7853;n thông tin" Width="585px" 
        Font-Names="Arial"></asp:Label>
    <br />
    <asp:Panel ID="Panel2" runat="server" BackColor="ControlLight" Font-Bold="False" 
        Font-Size="Small" Height="185px" Width="585px" ForeColor="Red" 
        BackImageUrl="~/images/Panel40.jpg">
        &nbsp;<br />
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <asp:HyperLink ID="hlNoiQui" runat="server" Font-Size="Medium" 
            ForeColor="Blue" NavigateUrl="~/Common/Regulation.aspx" Font-Bold="True">Chính sách và qui &#273;&#7883;nh c&#7911;a website E2-Computer</asp:HyperLink>
        <br />
        <br />
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <asp:CheckBox ID="cbNoiQui" runat="server" ForeColor="Blue" 
            
            
            
            
            
            Text="Tôi &#273;ã &#273;&#7885;c và ch&#7845;p nh&#7853;n chính sách và qui &#273;&#7883;nh c&#7911;a website E2-Computer" 
            Font-Bold="True" />
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />
        <br />
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <asp:Label ID="Label24" runat="server" 
            Text="Nh&#7853;p các kí t&#7921; hình bên" ForeColor="Black"></asp:Label>
        &nbsp;
        <br />
        <asp:Table ID="Table" runat="server" Width="585px" Font-Bold="True">
            <asp:TableRow ID="TableRow2" runat="server">
                <asp:TableCell ID="TableCell3" runat="server" Width="17px">
                </asp:TableCell>
                <asp:TableCell ID="TableCell2" runat="server" Width="290px">
                    <asp:TextBox ID="txtMaXacNhanKiTu" Font-Bold=true   Width = 100 runat="server"></asp:TextBox>         
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="RequiredFieldValidator" Text="Vui lòng &#273;i&#7873;n mã xác nh&#7853;n" Font-Bold="False" ControlToValidate="txtMaXacNhanKiTu"></asp:RequiredFieldValidator> 
                </asp:TableCell>
                <asp:TableCell ID="TableCell1" runat="server" Width="200px">
                    <cc1:CaptchaControl ID="ccJoin" runat="server" CaptchaLength="5" CaptchaHeight="50" CaptchaWidth="210" CaptchaLineNoise="None" 
                         CaptchaMinTimeout="5" CaptchaMaxTimeout="240"  Height = "50" Width="210px" />
                
                </asp:TableCell>
            </asp:TableRow>
        </asp:Table>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <asp:CustomValidator ID="CustomValidatorXacNhanKiTu" runat="server" 
            ControlToValidate="txtMaXacNhanKiTu" ErrorMessage="CustomValidator" 
            onservervalidate="CustomValidatorXacNhanKiTu_ServerValidate" >Mã kí t&#7921; xác nh&#7853;n không trùng kh&#7899;p</asp:CustomValidator>
        <br />
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    </asp:Panel>
    <br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;<asp:ImageButton ID="btnXacNhan" runat="server" 
        ImageUrl="~/images/XacNhanButton.jpg" onclick="btnXacNhan_Click1" />
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    <br />
&nbsp;
</asp:Content>

